package com.bdqn.ch05.repository;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.ch05.pojo.SysUser;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface UserRepository extends BaseMapper<SysUser> {
    @Select("select * from sys_user where usr_Name=#{usrName}")
    SysUser login(String usrName);



}
